package com.boy.commonutils.handler;

import com.boy.tool.enumClass.ExceptionCode;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WhdException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private ExceptionCode code;

    private String msg;
}
